//
//  MHCommonSwitchItemViewModel.m
// MiaoCircle
//
//Created by acgera on 2018/4/9.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHCommonSwitchItemViewModel.h"

@implementation MHCommonSwitchItemViewModel
- (void)setOff:(BOOL)off
{
    _off = off;
    if (self.offBlock) {
        self.offBlock(off);
    }
//    [MHPreferenceSettingHelper setBool:off forKey:self.key];
}
//
//- (void)setKey:(NSString *)key
//{
//    [super setKey:key];
//    
//    _off = [MHPreferenceSettingHelper boolForKey:key];
//}
@end
